package com.yc.plugin.app.net

import com.yc.commontlib.YcJetpack
import com.yc.plugin.app.data.json.PluginVersionJson
import retrofit2.http.*

/**
 *
 */
interface PluginApiService {
    /**
     * 版本更新
     */
    @GET("clientPackage/getClientVersion")
    suspend fun getVersion(
        @Query("clientType") clientType: String = "1",
        @Query("channel") channel: String = "1",
        @Header(YcJetpack.OTHER_BASE_URL) otherUrl: String = "http://update.jsqqy.com:8081/",
    ): PluginHttpResponse<PluginVersionJson>
}